home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / wordproc / njs30exe.arj / NJSTAR2.DOC < prev    next >
Text File  |  1994-02-15  |  57KB  |  1,159 lines

  1. (This is the second part of NJSTAR USER'S MANUAL. Read NJSTAR1.DOC first)
  2. =============================================================================
  3.  
  4. 10. CHINESE CHARACTER INPUT
  5. ===========================
  6.  
  7. This section describes  NJStar's  functions  related  to  Chinese  character
  8. input. All functions are listed under the "Input" (║║╫╓╩Σ╚δ) menu item.
  9.  
  10. NJStar supports all 6763 GB characters, which are divided into two  classes;
  11. 3755 for Class One (GuoBiao code: B0A1-D7FE) and 3008 for Class Two (GuoBiao
  12. code: D8A1-F7FE). In addition,  NJStar  covers  more  than  800  graphic  or
  13. typographic symbols defined in the GB set. NJStar also adds some custom-made
  14. characters to the  standard  character  set.  Run  CCFONT.EXE  to  add  more
  15. characters if necessary.
  16.  
  17. FUNCTION   <PYInput>       [Alt+F5]       ╞┤╥⌠╩Σ╚δ       Pinyin
  18.  
  19. Sets NJStar's input method to Pinyin. When entering PinYin  mode,  the  left
  20. end of the bottom line displays a sign of "PinYin."
  21.  
  22. Pinyin is the primary input method for NJStar because it is  easy  to  learn
  23. and fully compatible with an English keyboard. It uses 26 alphabetic letters
  24. or their combinations, plus "ü" in  very  rare  occasions,  to  present  all
  25. phonetic elements in Chinese. It has been  widely  accepted  as  a  standard
  26. Chinese phonetic system.
  27.  
  28. In the PinYin input method, lower case letter keys are used to input  PinYin
  29. code. Upper case letter keys and other ASCII keys may be  entered  into  the
  30. editing screen. When there are Chinese characters in the bottom line waiting
  31. to be selected, [,], [.], [Space] and numeric keys [1..0] are used to assist
  32. inputting and selecting Chinese characters.
  33.  
  34. Mouse: point the mouse cursor at the left end of the bottom line  and  click
  35. the left button once to toggle between  PinYin,  Online  PinYin,  and  ASCII
  36. mode.
  37.  
  38. NJStar accepts the standard PinYin codes, together with the tone codes,  for
  39. Chinese characters. The tone codes are: 1 for the first tone, 2 the  second,
  40. 3 the third, 4 the fourth,  and  5  for  neutral  tone.  See  the  following
  41. sentence for example.
  42.  
  43.      [EXAMPLE]    ─╧ = nan2     ╝½ = ji2     ╨╟ = xing1    ╩╟ = shi4
  44.                   ╬╥ = wo3      ╧▓ = xi3     ░« = ai4      ╡─ = de5
  45.                   ╓╨ = zhong1   ╬─ = wen2    ╬─ = wen2     ╩Θ = shu1
  46.                   ┤ª = chu4     └φ = li3     ╧╡ = xi4      ═│ = tong3
  47.  
  48. In NJStar, "ü" is presented as "uu." For instance, ┼«  (Girl)  is  coded  as
  49. "nuu3". According to Pinyin Standard, however, "ü" after "j", "q",  "x",  or
  50. "y" are presented as "u". Therefore, do not use "uu" after those letters.
  51.  
  52. After a complete code (PinYin+Tone) is  entered,  NJStar  will  display  all
  53. matching characters on the bottom line. Often-used  characters  will  appear
  54. before low frequency characters. You can use the [Space] Bar to  select  the
  55. first character, or a number key to select any other character. If there are
  56. more than 11 matches, use [>] or [<] key (without pressing Shift) to  scroll
  57. through the list, and then select a character. Press  [ESC]  to  cancel  the
  58. current code, if necessary.
  59.  
  60. [Note: the way to paste characters from the bottom  line  into  the  editing
  61. screen is always the same, no matter under  which  input  mode.  Thus,  this
  62. information will not be repeated in detail in the following sections. ]
  63.  
  64. If a character is selected, it will be pasted into the  editing  screen.  If
  65. this character has no corresponding LianXiang  character,  the  bottom  line
  66. will be cleared. Otherwise, the  bottom  line  will  display  all  LianXiang
  67. characters or LianXiang words. In this case, the bottom line will display  a
  68. "LianXiang" sign to the right side of  the  input  method  sign.  Users  may
  69. select a character or a word from the list in the same way as with selecting
  70. characters for initial input. Enter [ESC]  to  clear  the  bottom  line,  or
  71. continue to enter a new PinYin code if necessary. If the  LianXiang  feature
  72. is not required, you can turn off the LianXiang feature either  through  the
  73. <Option> command or in NJCONFIG.EXE.
  74.  
  75. By default, NJStar will dynamically adjust the PinYin dictionary every  time
  76. you select a character. That is, if a character is selected from  the  list,
  77. it will be automatically shifted to the beginning position of the  list.  If
  78. you select the same character again later, it will appear as the  first  one
  79. in the list; press [Space] to select it. This feature  can  be  disabled  in
  80. NJCONFIG.EXE so that all characters will appear at a  fixed  location  every
  81. time they are selected.
  82.  
  83. Occasionally, you may not want to get LianXiang characters,  or  change  the
  84. order of the current word list at the bottom line. Press [Alt] plus a number
  85. key to select a desired character. Due  to  the  fact  that  [,],  [.],  and
  86. [Space] keys are used to select characters, you can enter [Alt+,],  [Alt+.],
  87. or [Alt+SpaceBar] when there are characters in the bottom line for input. If
  88. NJStar runs in a DOS window under MS Windows 3.0 or  above,  please  specify
  89. [Alt+SpaceBar] as an application reserved key. (See the Windows  Manual  for
  90. more information about reserving keys for applications). [Ctrl+Space] can be
  91. used to input a space in case Windows uses [Alt+Space].
  92.  
  93. Quite often, the desired character has already appeared in the  bottom  line
  94. before a complete code is entered. At this point, NJStar  is  still  waiting
  95. for  a  complete  code.  If  you  prefer  not  to  finish  the  code,  press
  96. [Alt]+number key on the main keyboard, or use the number key  on  the  right
  97. hand keypad, to select the  character.  In  this  case,  NJStar  will  still
  98. display its LianXiang characters or words at the bottom line, if any, unless
  99. you have turned off the "LianXiang"  feature.  However,  the  order  of  the
  100. character list will not be adjusted as mentioned previously.
  101.  
  102. Sometimes, a character has  several  LianXiang  characters.  To  select  the
  103. chosen word from a  long  list  is  time-consuming.  In  this  case,  NJStar
  104. provides a smart way to assist selecting characters from the LianXiang list.
  105. I.e., when a LianXiang list is displayed, you can continue to enter the code
  106. for the next character. If  the  desired  character  is  LianXiang  for  the
  107. previous character, it will  appear  at  the  beginning  of  the  list.  For
  108. instance, to enter the word ╓╨  ╤º,  first  enter  "zhong1"  for  ╓╨.  Then,
  109. instead of using the [>] key to scroll through the list, simply enter  "xue"
  110. for the next character. Now, NJStar will display ╤º at the very beginning of
  111. the list so that the user can easily select it up by pressing [Space].
  112.  
  113. Another way to input a LianXiang word is to enter  combined  codes  for  the
  114. first two, or up to 4 characters. For instance, enter "zhongxin"  for  ╓╨╨─,
  115. "njx" for ─╧╝½╨╟. Please note, that if a  combined  LianXiang  code  is  not
  116. clear, as for instance "xi" and "an", you may need to use a ['] to  separate
  117. the characters. In the example, the code  for  the  word  ╬≈░▓  is  "xi'an."
  118. Alternatively, use the tone code as a separator, such as "xi1an."
  119.  
  120. In PinYin mode, you can enter some special characters by using  this  pseudo
  121. PinYin:
  122.  
  123.      va1-va5 -- Chinese or typographic symbols
  124.      ve1-ve3 -- ASCII and other alphabetical letters
  125.      vi1-vi5 -- Table drawing Characters
  126.      vo1-vo5 -- Greek and Russian letters
  127.      vu1-vu2 -- Chinese Phonetic Notes and radicals
  128.  
  129. See the NJStar  Chinese  Manual  for  the  mapping  tables  of  all  special
  130. characters that can be entered in pseudo PinYin.
  131.  
  132. NJStar also provides a handy way for  quick  input  of  Chinese  number  and
  133. units. When the first Pinyin letter is 'i', the following letters or numbers
  134. are mapped to a Chinese character according to the following table.
  135.  
  136.    0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z
  137.    í≡╥╗╢■╚²╦─╬σ┴∙╞▀░╦╛┼╢╓░┘│▀╡π╪Ñ╖╓╕÷║┼╥┌╜∩┐╦└∩├╫─Ω┴π╥│╟º╚╒╔²╠¿╚╦╘¬═≥╩«╘┬╓╗
  138.  
  139. For example, if you input the follow string as a PinYin code:
  140.  
  141.     i1992n1y1rodxf
  142.  
  143. the bottom line will display:
  144.  
  145.     ╥╗╛┼╛┼╢■─Ω╥╗╘┬╥╗╚╒┴π╡π╩«╖╓
  146.  
  147. From Version 3.0 onwards, an English word can be entered  as  pseudo  Pinyin
  148. under Pinyin mode, for instance, "hello", "design". In this case, it is very
  149. likely that NJStar cannot find any matching characters. The user could  then
  150. press  the  [Space]  bar  and  the  system  would  search  in  the  built-in
  151. Chinese-English dictionary. If the word is  found  in  the  dictionary,  the
  152. system will display all related Chinese word entries.  A  Chinese  word  can
  153. then be pasted from the  dictionary  list  into  the  editing  screen.  (See
  154. <EDicLookup> for more details.)
  155.  
  156. FUNCTION   <LianXiang>     [Alt+X]          ┴¬╧δ╟░╫╓       LianXiang
  157.  
  158. Provides a list of LianXiang characters and words, if any, for the character
  159. immediately before the current cursor position. Characters can  be  selected
  160. in the same way as with any other input mode.
  161.  
  162. This function may be used in any Chinese Character input mode, that  is,  in
  163. any non-ASCII input mode. When this function is called,  any  input  at  the
  164. bottom line will be replaced by the new LianXiang characters and words.
  165.  
  166. Mouse: to invoke this function, point the mouse cursor to "LianXiang" on the
  167. bottom line, and press left button.
  168.  
  169. FUNCTION   <OnlinPY>       [Alt+F3]         ┴¼╞┤╩Σ╚δ       Online PY
  170.  
  171. Sets NJStar's  input  method  to  Online  Pinyin  (or  so-called  Continuous
  172. Pinyin). The left end of the bottom line will display "LianPin".
  173.  
  174. Mouse: click on the left end of the bottom line until the sign is displayed.
  175.  
  176. Online Pinyin is very similar to Pinyin in terms of  coding  for  individual
  177. Chinese Character. However, the Pinyin codes, with  or  without  tones,  are
  178. entered directly into the editing screen. With built-in intelligence, NJStar
  179. will convert the whole line  of  input  codes  to  Chinese  characters.  For
  180. example, you can enter the following line in the editing screen under Online
  181. Pinyin mode:
  182.  
  183.        nanjixing
  184.  
  185. To start the conversion, press [Space]. NJStar will convert this string into
  186. the following line:
  187.  
  188.         ─╧╝½╨╟
  189.  
  190. The resultant string will be highlighted in reverse video. You can  continue
  191. to enter another code string. The highlight block will be turned  off  after
  192. the next string is converted.
  193.  
  194. If NJStar is unable to convert part  of  the  current  string  into  Chinese
  195. characters, the cursor will move to the location where the  problem  occurs.
  196. After correcting the error by the user, the cursor can be moved to  the  end
  197. of the string. To resume the conversion, press [Space].
  198.  
  199. By default, the conversion will take place when you press [Space]. To  delay
  200. the conversion, turn on [DelayConvert] with the <Option> Function  described
  201. below. After that, typing [,], [.], [?] or [Return] will  start  to  convert
  202. the current string into Chinese characters. This will make the input  string
  203. more readable and the result more precise. For example, after  entering  the
  204. following string in Online Pinyin mode:
  205.  
  206.        nanjixing shi wo xi'ai de zhongwen wenshu chuli xitong
  207.  
  208. Press the [.] key to end the sentence and you will get the following line:
  209.  
  210.        ─╧╝½╨╟╩╟╬╥╧▓░«╡─╓╨╬─╬─╩Θ┤ª└φ╧╡═│.
  211.  
  212. Online Pinyin relies on user's precise inputting of Pinyin codes.  That  is,
  213. it performs best when the codes are error-free. Instead of using spaces  for
  214. word parsing, you can also use upper case letter for  the  first  letter  of
  215. each word, or add  the  tone  codes.  This  will  improve  the  accuracy  of
  216. conversion.
  217.  
  218. For example, the above Chinese sentence can be entered as:
  219.  
  220.        NanjixingShiWoXi'aiDeZhongwenWenshuChuliXitong
  221.  
  222. However, there is always a chance that the  resultant  string  needs  to  be
  223. modified. If that is the case, move the cursor back to the  wrong  character
  224. while the string is highlighted. At this point, the bottom  line  will  show
  225. all the homonyms, if any. You can choose a replacement  from  the  list.  If
  226. this character has more than one pronunciation and the current list  is  not
  227. what you need, press [/] to switch the list to  another  pronunciation.  (In
  228. other input modes, [/] would work in the same way as the [ESC] key.)
  229.  
  230. If the string is no longer highlighted,  first  mark  it  with  the  <Block>
  231. command and then edit it in the same way as described here.
  232.  
  233. There are some limits to this function. E.g. do not use it to enter  English
  234. words since the system will try to convert the English string  into  Chinese
  235. characters as a Pinyin code, which may yield unexpected result. For  English
  236. text, use the <ASCII> mode instead.
  237.  
  238. FUNCTION   <Option>        [Ctrl+F2]        ╩Σ╚δ╔Φ╓├       Option
  239.  
  240. From version 3.0, the following four options are  configurable  through  the
  241. pull-down menu when the input is in Pinyin or Online Pinyin mode:
  242.  
  243.         Tone:  Toggles between the requirement of the Tone code. When set
  244.                on, requires input tone code (1-5) in Pinyin input mode.
  245.  
  246.         Fuzzy: Toggles between the feature of Error Tolerance pre-defined in
  247.                TOLERATE.DIC. This file is a text file and can be  edited  by
  248.                the  user.  When  set  on,   the   following   codes   become
  249.                exchangeable, enabling user to input with less precise codes.
  250.  
  251.                      Vowels (╘╧─╕)
  252.                      a    ia, ai
  253.                      e    ie, ei, uue
  254.                      o    ou, uo
  255.                      u    uu, iu, ui
  256.                      an   ang, ian, iang
  257.                      en   eng
  258.                      in   ing
  259.                      ong  iong
  260.                      uan  uang
  261.                      on   ong,  iong
  262.                      ao   iao
  263.  
  264.                      Consonants (╔∙─╕)
  265.                      z  zh
  266.                      c  ch
  267.                      s  sh
  268.                      l  n
  269.                      n  l
  270.  
  271.         LianXiang: Toggles the LianXiang feature. When set on,  NJStar  will
  272.                    automatically try  to  provide  LianXiang  characters  or
  273.                    words at the bottom line after each character is entered.
  274.                    In  some  input  modes  (such  as  5-Strokes),  LianXiang
  275.                    affects user's input speed, so LianXiang should be off.
  276.  
  277.         DelayConvert: Toggles between conversion by a space character or  by
  278.                    punctuation only. When set on, the  conversion  will  not
  279.                    take place when the  [Space]  bar  is  pressed.  Instead,
  280.                    conversion will wait until a punctuation is entered.
  281.  
  282. Beginning from NJSTAR v3.0, all the  option  changes  and  changes  made  by
  283. Toggle functions (such as Input Method, Font Style, Pure Chinese mode, etc.)
  284. will be automatically saved on exit, and restored on  the  next  session  of
  285. NJSTAR.
  286.  
  287. FUNCTION   <BackToPinYin>   [Shift+F8]       ╞┤╥⌠╗╣╘¡       Pinyin Back
  288.  
  289. In Online Pinyin mode, converts the highlighted Chinese string back into the
  290. original Pinyin string as entered.  This  function  works  only  immediately
  291. after a Pinyin string has been converted into a  character  string,  and  no
  292. block operation is performed.
  293.  
  294. You can use the [INS] / [Insert] key to access this function as  an  one-key
  295. operation.
  296.  
  297. FUNCTION   <PY2Hanzi>      [Alt+F1]         ╞┤╥⌠╫¬╫╓       PY to Hanzi
  298.  
  299. Converts the marked Pinyin string into  a  Chinese  character  string.  This
  300. function will work in both Pinyin and Online Input mode.
  301.  
  302. FUNCTION   <ZYinput>        [Alt+F7]         ╫ó╥⌠╩Σ╚δ       ZhuYin
  303.  
  304. Sets NJStar's input method to ZhuYin Input.  ZhuYin,  (now  mainly  used  in
  305. Taiwan), also known as Kuo Yu Chu Yin Fu Hao (╣·╙∩╫ó╥⌠╖√║┼), is one  of  the
  306. many widely used phonetic systems for  the  Chinese  language.  It  uses  37
  307. symbols to present major phonetic elements or their combinations in Chinese.
  308. There are various keymaps for the use of  a  standard  English  keyboard  to
  309. represent those 37 symbols. Three keymap styles are  provided  under  ZhuYin
  310. input,i.e. NJStar Style, Eten Style, and Kuochiao Style. This is the  lookup
  311. table for the three keymaps, with reference to Pinyin.
  312.  
  313.     Initial Consonants (╔∙─╕):
  314.     Pinyin:    b  p  m  f  d  t  n  l  g  k  h  j  q  x  zh ch sh r  z  c  s
  315.     ZhuYin:    ¿┼ ¿╞ ¿╟ ¿╚ ¿╔ ¿╩ ¿╦ ¿╠ ¿═ ¿╬ ¿╧ ¿╨ ¿╤ ¿╥ ¿╙ ¿╘ ¿╒ ¿╓ ¿╫ ¿╪ ¿┘
  316.     Eten:      b  p  m  f  d  t  n  l  v  k  h  g  7  c  ,  .  /  j  ;  '  s
  317.     Kuochiao:  1  q  a  z  2  w  s  x  e  d  c  r  f  v  5  t  g  b  y  h  n
  318.     NJStar:    b  p  m  f  d  t  n  l  g  k  h  j  q  x  ,  .  /  r  z  c  s
  319.  
  320.     Vowels (╘╧─╕):
  321.     Pinyin:    a  o  e  ê  i  u  ü  ai ei ao ou an en ang eng er
  322.     ZhuYin:    ¿┌ ¿█ ¿▄ ¿▌ ¿τ ¿Φ ¿Θ ¿▐ ¿▀ ¿α ¿ß ¿Γ ¿π ¿Σ  ¿σ  ¿µ
  323.     Eten:      a  o  r  w  e  x  u  i  q  z  y  8  9   0   -  =
  324.     Kuochiao:  8  i  k  ,  u  j  m  9  o  l  .  0  p   ;   /  -
  325.     NJStar:    a  o  e  w  i  u  y  [  ]  6  7  8  9   0   -  =
  326.  
  327.     Tones (╥⌠╡≈):
  328.     PinYin:     -   /  íª \
  329.     Zhuyin:     -   /  íª \  íñ
  330.     Eten:       1   2  3  4  5      
  331.     KuoChiao:   =   6  3  4  7
  332.     NJStar:     1   2  3  4  5
  333.  
  334. Under ZhuYin input mode, [<] and [>], not [,] and [.], are  used  to  scroll
  335. through the list of Chinese characters at the bottom line. The  user  should
  336. always press the [Shift] key when using [<] or [>].
  337.  
  338. The Space bar is used to select the first character on the list. Before  the
  339. tone is entered, the Keypad number or [ALT]+number may  be  used  to  select
  340. from the list. After the tone is entered, the number on  the  main  keyboard
  341. can also be used to select characters.
  342.  
  343. Cizu (Multiple-character word) may also be entered together in Zhuyin  mode.
  344. The user can enter more than one Zhuyin code together. For example,
  345.  
  346.             _________________________________________________
  347.             ╫ó╥⌠: ¿╦¿Γ¿╨¿τ  1 ─╧╝½ 2 ─╧╝½╨╟ 3 ─╧╝½╓▐
  348.  
  349. Please note that in Zhuyin's Cizhu input, tone numbers should not  be  used.
  350. If the second Zhuyin code does not  start  with  an  initial  consonant,  it
  351. should be separated from the first code with [']. For example,
  352.  
  353.             _________________________________________________
  354.             ╫ó╥⌠: ¿╥¿τ'¿Γ   1 ╬≈░▓  2 ╬≈░▓╩╨
  355.  
  356. FUNCTION   <GBinput>       [Alt+F4]         ╣·▒Ω╟°╬╗       Guobiao/QW
  357.  
  358. Sets NJStar's input method to GuoBiao or Quwei. In previous versions,  there
  359. used to be two separate functions but beginning with Version 3.0, they  have
  360. been merged into one command. However, when invoking <GBinput>, the left end
  361. of the bottom line will display a "GuoBiao" sign, unless  a  Quwei  code  is
  362. detected by the system, and then it will display a "Quwei" sign. (A GB  code
  363. starts with [a] to [f] while a QW code starts with [0] to [9].)
  364.  
  365. GuoBiao and Quwei are major supplementary input methods in NJStar. The  file
  366. GUOBIAO.DOC  lists  out  all  valid  GuoBiao  codes  and  the  corresponding
  367. characters. QUWEIMA.DOC  does  the  same  for  all  valid  Quwei  codes  and
  368. corresponding characters. To enter a GuoBiao code, you have to complete  all
  369. four code letters before it is displayed on the editing  screen.  For  Quwei
  370. codes, the first two code numbers  bring  up  a  character  list.  Select  a
  371. character from the list with [Alt]+number key or a number key on the keypad,
  372. or wait until all four-number codes have been entered.
  373.  
  374. After a character is entered, any content of LianXiang characters or  words,
  375. will be displayed on the bottom line. You can select any character from  the
  376. list, or continue to enter another code.
  377.  
  378. FUNCTION   <AscInput>      [Alt+F6]         ╙ó╬─╩Σ╚δ       Ascii Input
  379.  
  380. Sets NJStar's input method to ASCII. When using ASCII, the left end  of  the
  381. bottom line will display an "ASCII" sign. The file name,  size,  and  cursor
  382. position are displayed on the bottom line. The "*" sign in front of  "Bytes"
  383. indicates the current file has been modified since it was  opened  or  since
  384. the last time it was saved.
  385.  
  386. Mouse: point the mouse cursor at the left side of the bottom line and  click
  387. the left button once, to toggle  between  Online,  Pinyin  and  ASCII  input
  388. modes.
  389.  
  390. ASCII mode is used to enter all English characters, plus the extended  ASCII
  391. character set (128-160). To enter those  characters,  press  [Alt]  together
  392. with the corresponding ASCII code with the numerical keys from  the  keypad.
  393. For instance, to enter [ü], press [Alt] and type [1], [2], [9] on the number
  394. pad. Release the [Alt] key and the character will be pasted into the editing
  395. screen.
  396.  
  397. FUNCTION   <Radicals>      [Shift+F1]       ▓┐╩╫╝∞╫╓       Radicals
  398.  
  399. This function is seldom used as an input method.  However,  it  provides  an
  400. handy way to look up a character by radicals, especially when  the  user  is
  401. not very sure about its pronunciation.
  402.  
  403. When starting this function, a window on the screen  will  display  all  214
  404. radicals arranged by the number of strokes.  Use  the  cursor  or  mouse  to
  405. select a radical. Once selected, another window will be displayed  with  all
  406. the characters for that radical arranged again by number of strokes. Use the
  407. down or right arrow key to scroll through the list. Once the  character  you
  408. are looking for has been found, it can be pasted into the editing screen  by
  409. pressing [Return]. Press [F1] key to get coding and  other  information  for
  410. the character. (See function <HanziInfo> below.)
  411.  
  412. In this version, each character's radical and stroke numbers, by  which  the
  413. characters are sorted, are based on simplified Chinese characters only.
  414.  
  415. FUNCTION   <Symbols>       [Ctrl+6]         ╠╪╩Γ╖√║┼        Symbols
  416.  
  417. This function is also seldom used as an input method. However,  it  provides
  418. an handy way to look up a special symbol character in a window.
  419.  
  420. When starting this function, a window will show all the symbols  in  the  GB
  421. character set. Use the cursor or mouse to select a symbol. If the screen  is
  422. full, use the down or right arrow key to scroll through the list.  When  the
  423. character is found, it  can  be  pasted  into  editing  screen  by  pressing
  424. [Return].
  425.  
  426.  
  427. FUNCTION   <EXInput>       [Alt+F2]         ╞Σ╦ⁿ╩Σ╚δ         Extra Input
  428.  
  429. Lets user select one of the following input methods as listed on the  bottom
  430. line,
  431.  
  432.   a. WuHua        Coded  with  number  1-5  for  five  basic  strokes.
  433.      ╬σ╗«         Maximum length  of codes is  5 numbers.   Use keypad
  434.                   numerical keys to enter code.
  435.  
  436.   b. WuBiZiXing   Coded  with  letter  a-y  for  a  classification  of
  437.      ╬σ▒╩╫╓╨═     radicals.   Maximum length  of codes  is 4  letters.
  438.                   Use standard letter keys to enter code.   Cizu
  439.                   input is available in the registered version only.
  440.  
  441.   c. CangJie      Coded  with  letter  a-y  for  a  classification  of
  442.      ▓╓≥í         radicals  based on  traditional  character  writing.
  443.                   Maximum length of codes is 6 letters.   Use standard
  444.                   letter keys to enter code.
  445.  
  446.   d. DianBao      Uniquely  coded  with number  1-9  according to  the
  447.      ╡τ▒¿         Chinese Telegraph  Coding Table. The length of codes
  448.                   is 4 numbers.  Use keypad numerical  keys to enter code.
  449.  
  450.   e. SortPinYin   Similar to standard Pinyin, with  abbreviations 
  451.      ╦½╞┤         found in  CCDOS and without tone codes.  The maximum
  452.                   length of code  is 3 letters.   Use standard letter
  453.                   keys to enter code.
  454.  
  455.   f. FullPinYin   Similar  with  Pinyin,  without  tone  codes.    The
  456.      ╚½╞┤         maximum length of code is 6  letters.  Use standard
  457.                   letter keys to enter code.
  458.  
  459.   g. YinYi        Coded with letter a-z, first in Pinyin and then in a
  460.      ╥⌠╥Γ         classification of  meanings.  The maximum  length of
  461.                   codes is  6 letters.  Use standard  letter keys to
  462.                   enter code.
  463.  
  464.   h. ShouWei      Coded  with  letter  a-z  for  a  classification  of
  465.      ╩╫╬▓         first & last radicals. Maximum length of code is  2
  466.                   letters. Use standard letter keys to enter code.
  467.  
  468.   i. Cantonese    Coded  with letter a-z  according to Fung-Fung Lee's
  469.      ╘┴╙∩         Cantonese   Romanization  Proposals.   Use  standard
  470.                   letter keys to enter code.
  471.  
  472.   j. SimpleCJ     Coded with letter a-z according to a classification
  473.      ╝≥╥╫         of first & last radicals using the CangJie convention.  
  474.                   Maximum length of codes is 2 letters.  Use standard
  475.                   letter keys for code input.
  476.  
  477.   k. JianCang     Coded  with  letter  a-y  for  a  classification  of
  478.      ╝≥▓╓         radicals  based  on  simplified  character  writing.
  479.                   Maximum length of codes is 6 letters.   Use standard
  480.                   letter keys to enter code.
  481.  
  482.   l. Japanese     Similar with Full Pinyin.  With a Pinyin code,  it
  483.      ╚╒╙∩         will bring up  Japanese Hiragana and Katakana before
  484.                   Chinese  characters.  Use  standard  letter keys to
  485.                   enter code.
  486.  
  487.   n. User         See below.
  488.      ╙├╗º┤╩╫Θ
  489.  
  490.   q. QianMa       Coded with letter a-z and letter 0-9. Maximum length
  491.      ╟«┬δ         of code is 3.  User standard letter  keys to enter code.
  492.                   Coding scheme invented by Qian Weichang.
  493.  
  494.   s. Four Corner  Coded with number 0-9 for a classification of four
  495.      ╦─╜╟         corners based on simplified character writing.
  496.                   Maximum length of codes is 4 numbers.  Use standard
  497.                   letter keys to enter code.
  498.  
  499.   t. Fan 4 Corner Coded with number 0-9 for a classification of four
  500.      ╖▒╦─         corners based on un-simplified character writing.
  501.                   Maximum length of codes is 4 numbers.  Use standard
  502.                   letter keys to enter code.
  503.      
  504.   y. Yale         Phonetic system originally used in Yale, letter keys
  505.      ╥«┬│         only.
  506.  
  507.   w. Wade-Giles   Classic Chinese Romanization standard invented by
  508.      ═■╡╘         Wade and then modified by Giles.  Widely used in
  509.                   the Western countries.  Letter keys a-z only.
  510.                   ['] key is ignored.
  511.  
  512. All these input methods have their strengths and weaknesses. Some users  are
  513. familiar with one or the other. Therefore, while the English version of  the
  514. manual contains no further details, the Chinese version for registered users
  515. contains additional information. It also includes a lookup table for Pinyin,
  516. Zhuyin, Yale and Wade-Giles.
  517.  
  518. All unused letters listed above, such as m, o, p ..., may  be  used  for  an
  519. user-defined input method [NJINPUT?.DIC]. The user can also  substitute  the
  520. existing input dictionary file  with  a  user-defined  input  dictionary  to
  521. include one or more of the unused letters.
  522.  
  523. One of NJStar's outstanding features is to allow users  to  implement  their
  524. own preferred input methods by setting up an input dictionary  with  NJStar.
  525. Once the  dictionary,  a  GB  file,  is  coded,  NJStar's  utility  program,
  526. INPUTDIC.EXE, can convert it into NJStar's input dictionary. This adds a new
  527. input method to NJStar. For more details, see UTILITY.DOC.
  528.  
  529. The User Vocabulary input method serves both as an example of a user-defined
  530. input dictionary as well as a user dictionary  by  itself.  Initially,  this
  531. input method is provided as a GB file, USERDIC.GB, with 2700  English  words
  532. and Chinese translations. Here, English words serve as codes for the Chinese
  533. words. More than one Chinese word can be listed under each index  code.  You
  534. can modify the file under NJStar as long as the file header is not  changed.
  535. A special utility program, CIZUDIC.EXE, helps to convert it to a  dictionary
  536. file. (See the file header of USERDIC.GB for  command  syntax).  Afterwards,
  537. you can choose this input mode to input by English word.
  538.  
  539. FUNCTION   <SwitchCCLIB>   [Ctrl+F10]       ╖▒╝≥╫¬╗╗       Fan/JianTi
  540.  
  541. Toggles NJStar's display style between simplified characters (JianTiZi)  and
  542. traditional characters (FanTiZi). The initial display style can be set  with
  543. NJCONFIG.EXE.
  544.  
  545. NJStar uses standard GB code for the file, no matter which display style  is
  546. current. Therefore, you may select at any  time  to  display  a  file  in  a
  547. preferred style without re-entering the text. CCLIB.16 is the font file  for
  548. simplified characters, and CCLIBF.16 the file for traditional characters. Be
  549. aware  that  some  simplified  characters  may  represent  more   than   one
  550. traditional character. Therefore, you  must  pay  attention  to  select  the
  551. correct characters if you want to enter simplified characters and output  in
  552. traditional font.
  553.  
  554. Only 16x16 fonts are used for screen display, while the output font  depends
  555. on the user's printer  and  printer  driver  setup.  See  the  corresponding
  556. section of NJCONFIG.EXE for more details.
  557.  
  558. FUNCTION   <PureChinese>   [Alt+F9]         ┤┐╓╨╬─         Pure Chinese
  559.  
  560. Toggles NJStar's PureChinese and Non-PureChinese input modes. In PureChinese
  561. mode, a sign of "PureChinese" will be displayed at the right bottom  corner.
  562. The initial mode can be set with NJCONFIG.EXE.
  563.  
  564. There is no differences in Chinese characters input under either mode. ASCII
  565. characters, in PureChinese  mode,  are  mapped  into  GB  counterparts.  For
  566. instance, an ASCII period, a dot, is mapped to a  Chinese  period,  a  small
  567. circle. Some ASCII characters may be mapped into different presentations  in
  568. PureChinese mode. For example, an asterisk [*] is mapped to a  Chinese  star
  569. í∩. However, this function only affects input of ASCII characters.
  570.  
  571. Mouse: point the mouse cursor to the right end of the bottom line and  click
  572. the left button once to invoke this function.
  573.  
  574. =============================================================================
  575.  
  576. 11. TOOLS
  577. =========
  578.  
  579. This section describe NJStar's several  enhancements  listed  under  "Tools"
  580. (╫╓╡Σ╣ñ╛▀) in the main menu. There are three kinds of enhancements mentioned
  581. in this section. (1) Dictionary-related, (2) System Configuration,  and  (3)
  582. Macro commands. Macro commands are described in the next section.
  583.  
  584. FUNCTION   <EDicLookup>    [Alt+E]          ║║╙ó╫╓╡Σ       Dictionary
  585.  
  586. Displays an English translation window for the current Chinese character  or
  587. word.
  588.  
  589. Position the cursor under the desired character or mark the word as a block.
  590. When the function is called, the system will search for matching  characters
  591. or words in the dictionary and display the result  in  the  window.  If  the
  592. content of dictionary exceeds one screen, press  the  [Down]  arrow  key  or
  593. [PgDn] key to scroll through the entries.
  594.  
  595. If the current character is not "marked",  NJStar  treats  it  as  a  single
  596. character, and will intelligently search all the  words  in  the  dictionary
  597. which match the words around the cursor character.
  598.  
  599. If a single character or a word is "marked",  NJStar  will  search  all  the
  600. entries that contain this character or word, and  give  an  explanation  for
  601. matched words. Otherwise, if a "word" is marked and  is  not  found  in  the
  602. dictionary, NJStar will indicate so. Custom-made characters cannot be  found
  603. in the dictionary.
  604.  
  605. This function can be used to look up an English word. If the current word is
  606. not highlighted, the search will operate  on  the  whole  word.  If  only  a
  607. portion of a word is marked, only the marked segment will be  processed.  If
  608. the marked block contains more than one word, only the first  word  will  be
  609. searched.
  610.  
  611. The system will look up the  word  in  the  English  part  of  the  build-in
  612. Chinese-English Dictionary and then display all entries in which the word is
  613. found. Once the desired entry is located  by  the  user,  press  [Enter]  to
  614. insert the Chinese word into the editing screen,  or  [Space]  to  dump  the
  615. whole entry to the screen.
  616.  
  617. FUNCTION   <Glossary>      [Ctrl+G]         ╦⌡╨┤╫╓╡Σ       Glossary
  618.  
  619. Brings up user definable vocabulary. These glossary entries can be  accessed
  620. in Online Pinyin mode. When you enter a code matching the index string,
  621. NJStar will convert the code into the pre-defined string.
  622.  
  623. The advantage of the Glossary function over <AddLX> is that  it  allows  the
  624. user to identify a string with any letters, not just Pinyin or initials. For
  625. instance, OZ --> ░─┤≤└√╤╟, USA --> ├└╣·, NJStar --> ─╧╝½╨╟. Furthermore, you
  626. can also define a non-GB string, such as FYI --> FOR YOUR INFORMATION.  This
  627. is  quite  different  from  the  User-Definable  input   method   (as   with
  628. NJINPUTN.DIC and NJCIZUN.DIC) where the primary advantage  of  Pinyin  input
  629. cannot be obtained. On the other hand, a user vocabulary defined  through  a
  630. user dictionary is not accessible in Online Pinyin mode.
  631.  
  632. NJStar will search the glossary  dictionary  first  and  then  the  ordinary
  633. Pinyin dictionary. Thus, do not use a valid Pinyin code  to  define  a  user
  634. string. Otherwise it would prevent the code from being converted as a Pinyin
  635. code. It is desirable to use all upper case  letters  for  index  codes,  to
  636. avoid conflict with standard Pinyin code. Numbers can be used in  the  index
  637. code, but not as the first letter.
  638.  
  639. The Glossary list may be updated  manually.  When  the  Glossary  window  is
  640. displayed, you can use [F1] for 'Add New', [F2] for 'Add Marked' Block, [F3]
  641. for 'Edit Current', [F4] for 'Delete Current', [ESC]  to  quit.  Pressing  a
  642. letter 'a-z' will search for an entry starting with the key. Pressing [Space]
  643. to insert the current entry into file.
  644.  
  645. While the Glossary list displays only  one  line  for  each  entry,  it  can
  646. actually contain a much larger content. Mark a portion of  the  screen  with
  647. the <Block> function, then add the block after the Glossary list  is  called
  648. up by the <Glossary> function. If the marked block is less  then  one  line,
  649. you can edit the block. Otherwise, the large block cannot be edited further.
  650. The only way to work around this is to insert the block into the screen text
  651. and edit it, then add the block into the Glossary list as a  new  entry  and
  652. delete the old one.
  653.  
  654. FUNCTION   <HanziInfo>     [Alt+Z]          ║║╫╓╨┼╧ó       Hanzi Info
  655.  
  656. Displays the current character in large size in a  pop-up  window,  together
  657. with  coding  information,  including  Pinyin,  Wubizixin,  telegram   code,
  658. radical, stroke numbers (based on simplified  style),  GB,  Quwei,  HZ,  and
  659. frequency. Mouse: double click the left mouse button  on  the  character  to
  660. call up this function.
  661.  
  662. FUNCTION   <AddLX>         [Ctrl+F8]        ╘÷╝╙╫╓┤╩       Add Word
  663.  
  664. Adds a user specified string to the  LianXiang  dictionary,  for  the  first
  665. character in the string. User should mark the string in order to specify it.
  666. Only Class One characters can have LianXiang words. The number of  LianXiang
  667. words for each character is unlimited. A single LianXiang  word  can  be  as
  668. long  as  40  Chinese  characters  and  the  size  of  LianXiang  dictionary
  669. (NANJILX.DIC) can be as large as 73K bytes.
  670.  
  671. For instance, if you find that an often-used  word  "╢½║■"  is  not  in  the
  672. dictionary, you can add this word to the dictionary. Use <MarkBlock> to mark
  673. the string as a block. Then, call the <AddLX> function to add the string.
  674.  
  675. This function may also add a user-specified  Pinyin  code  for  the  current
  676. character to the Pinyin dictionary  (NANJIPY.DIC).  To  do  that,  move  the
  677. cursor to the  current  character,  DO  NOT  MARK  it,  simply  invoke  this
  678. function. The system will prompt you for a new input code. A message will be
  679. displayed if the code is accepted. (If  the  cursor  is  not  on  a  Chinese
  680. character, the system will prompt the  GB  code  for  the  character  to  be
  681. processed.) Use this function to assign any input  code  to  a  user-created
  682. character.
  683.  
  684. FUNCTION  <DelLX>          [Alt+F8]         ╧√│²╫╓┤╩       Del Word
  685.  
  686. Removes a user-specified string from the LianXiang dictionary. The operation
  687. of <DelLX> is similar to <AddLX>.
  688.  
  689. Since the size of LianXiang dictionary is limited,  unwanted  words  can  be
  690. deleted so that more user-specified words can be added.
  691.  
  692. <DelLX> also removes a user-specified  Pinyin  code  for  a  single  Chinese
  693. character from the Pinyin dictionary.
  694.  
  695. UTILITY   LXGB2DIC.EXE
  696.  
  697. This program is used to add or delete a list of LianXiang words to  or  from
  698. NJStar's LianXiang dictionary, NANJILX.DIC. It runs  from  the  DOS  prompt.
  699. Make sure the program is in the current sub-directory or accessible  through
  700. the path statement and  backup  the  dictionary  file  before  running  this
  701. command. Here are the program usages:
  702.  
  703.      1. Add LianXiang words from a word list file,  say,  CIHUI.GB,  to  the
  704.         dictionary file, say, NANJILX.DIC.
  705.  
  706.         [USAGE]
  707.                LXGB2DIC [/atend] @nanjilx.dic +cihui.gb
  708.  
  709.                /atend -- add word at end of the list
  710.  
  711. The dictionary file should be in  dictionary  format.  The  word  list  file
  712. should be in GB format, with one word to a line. The first character in each
  713. word should be in the Class One  of  the  GB  table.  The  optional  switch,
  714. "/atend", will force words to be added at the  end  of  the  list  for  each
  715. character. Otherwise, the newly added word will appear at the  beginning  of
  716. the corresponding list. After running the program, the dictionary file  will
  717. be updated.
  718.  
  719.      2.   Delete words listed in the  given file, say, CIHUI.GB, from the
  720.           dictionary file, say, NANJILX.DIC.
  721.  
  722.           [USAGE] LXGB2DIC @nanjilx.dic -cihui.gb
  723.  
  724. The requirements of files are the same as those in adding  LianXiang  words.
  725. See above. After running the program, the dictionary file will be updated.
  726.  
  727.      3.   Use the old dictionary file, say, DICFILE.OLD, to update a new
  728.           dictionary file, say, DICFILE.NEW.
  729.  
  730.           [USAGE]
  731.                LXGB2DIC @dicfile.new @dicfile.old
  732.  
  733. In this case, both files should be in NJStar's dictionary format.  The  name
  734. for the new dictionary file should go  before  that  of  the  old  one.  The
  735. program will check words in the DICFILE.OLD,  and  update  DICFILE.NEW  with
  736. words not found in it. After running, only the first file will be updated.
  737.  
  738.  
  739. FUNCTION   <NJConfig>       [Ctrl+C]         ╧╡═│╡≈╜┌       NJCONFIG
  740.  
  741. Starts NJCONFIG.EXE program inside of the NJSTAR system. User may change the
  742. system setup through NJCONFIG.EXE. (See  section  System  Configuration  for
  743. more details.)
  744.  
  745. Most setup changes made through this function will take effect  immediately,
  746. such as printer drivers and printing setup. However, the video card settings
  747. will not take place until the user starts NJSTAR again.
  748.  
  749. =============================================================================
  750.  
  751. 12. MACROS COMMANDS
  752. ===================
  753.  
  754. This section describes NJStar's Macro related functions. Those functions are
  755. located under "Tools"  (╫╓╡Σ╣ñ╛▀)  in  the  main  menu.  This  section  also
  756. describes the way to compose the macro  text  file  and  use  NJMAC.EXE  for
  757. compiling NJStar macros.
  758.  
  759. A macro is a pre-defined sequence of a series of NJStar  commands.  You  can
  760. record a series of commands within NJStar, or write a macro text  file  with
  761. NJStar and then compile it with NJStar's utility  program,  NJMAC.EXE.  This
  762. will convert it to a macro file that can be loaded into NJSTAR.
  763.  
  764. See PROGRAM USAGE for information about loading a macro in the command  line
  765. with '-L' and '-X' options.
  766.  
  767. FUNCTION   <MacroRec>      [F11]            ╝╟┬╝├ⁿ┴ε       Macro Rec
  768.  
  769. Starts and stops macro recording. When entering  macro-recording  mode,  the
  770. right side of the bottom will display a sign of "Record."
  771.  
  772. Mouse: point the mouse cursor at "Record" and then  click  the  left  button
  773. once to invoke this function.
  774.  
  775. When starting, a sequence of NJStar commands entered by  the  user  will  be
  776. recorded and stored in the macro  buffer,  until  this  command  is  invoked
  777. again. The contents of the macro buffer will be cleared by  the  next  macro
  778. recording operation.
  779.  
  780. When recording a macro, pressing [ESC] would be considered to  be  a  normal
  781. command to be recorded, instead of cancellation of the command.
  782.  
  783. Beginning from NJSTAR v3.0, contents in  the  macro  buffer  will  be  saved
  784. automatically on exit, so that the macro  can  be  executed  the  next  time
  785. NJSTAR is run.
  786.  
  787. FUNCTION   <MacroExec>     [F12]            ╓┤╨╨╝╟┬╝       Macro Exec
  788.  
  789. Executes the macro stored in the macro buffer. If the macro buffer is empty,
  790. it will do nothing.
  791.  
  792. If a macro turns out to contain an infinite loop, you must press [Ctrl+C] or
  793. [Ctrl+Break] to cancel the execution.
  794.  
  795. FUNCTION   <SaveMacro>     [Alt+F11]        ╝╟┬╝┤µ┼╠       Save Macro
  796.  
  797. Saves the contents of the macro buffer to a file with a user-specified  file
  798. name. Thus, a recorded macro can be repeatedly used. The macro file name has
  799. the standard extension, .NJM. Any other extension given to the file  by  the
  800. user will be ignored.
  801.  
  802. If you enter a file name that is already exist on disk, the system will  ask
  803. for confirmation. Press [ESC] at any time to cancel the request.
  804.  
  805. FUNCTION   <ReadMacro>     [Alt+F12]        ╢┴╚í╝╟┬╝       Read Macro
  806.  
  807. Reads a user-specified macro file into the macro buffer, so that  the  macro
  808. can be executed. When NJStar prompts for a file name, don't use an extension
  809. as NJM will be used as the default.
  810.  
  811. FUNCTION   <RepeatCmd>     [Ctrl+F11]       (╓╪╕┤├ⁿ┴ε      Repeat Command)
  812.  
  813. Repeats a previous command a given  number  of  times.  If  it  is  a  macro
  814. command, <RepeatCmd> will repeat the Macro for a given number of times. This
  815. function can not be used inside a macro.
  816.  
  817. MACRO TEXT FILES
  818.  
  819. User may also build macro files from scratch. To  create  your  own  macros,
  820. write them as text files. The following basic rules apply to macro files:
  821.  
  822.      1. A macro text file should be given the .NJ extension; The converted
  823.         NJSTAR macro file has the standard extension of '.NJM'.
  824.  
  825.      2. A macro text file may only contain one macro statement, which can
  826.         contain one or more commands;
  827.  
  828.      3. A macro statement should always start with a string "Macro";
  829.  
  830.      4. When a line is too long, use "&" at the end of line to indicate
  831.         that it ontinues on the next line;
  832.  
  833.      5. A comment line in the  macro  text  file  starts  with  an  "*"
  834.         character;
  835.  
  836.      6. All commands listed in this manual can be written to macro text
  837.         files, separated by  a  space.  Upper case or lower case can be
  838.         used;
  839.  
  840.      7. Use double quotation marks ("") around text or search strings;
  841.  
  842.      8. Use single quotation marks ('') to input the enclosed text to the
  843.         editing screen or a Chinese character code at prompt;
  844.  
  845.      9. Use #nnn to input an ASCII character  represented  by  nnn.  The
  846.         number nnn can be either in Decimal, Hex, or Oct format;
  847.  
  848.      10. Use $nn to pause the execution for a period of nn ticks.  One  tick
  849.          is equal to 1/18 second. User input  will  be  ignored  during  the
  850.          pause;
  851.  
  852.      11. Use the <Pause> command to pause the execution of  the  macro  when
  853.          NJSTAR prompts user to enter  a  string,  until  the  user  presses
  854.          [Return] or [ESC]. Other editing  tasks  can  be  done  during  the
  855.          pause. <Pause> can be also used when  the  <DOS>  command  returns.
  856.          NJSTAR will wait for a key press before  clearing  the  DOS  output
  857.          screen;
  858.  
  859.      12. Use <ScreenOff> to freeze the screen  display  when  the  macro  is
  860.          executing. Use <ScreenOn> to turn on the screen. NJSTAR  will  turn
  861.          on the screen display at the end of macro. <ScreenOff>  will  speed
  862.          up the macro execution speed;
  863.  
  864.      13. Use string plus ":" to compose  a  label.  A  macro  statement  can
  865.          contain up to 64 labels. Lable example, BEGIN: LOOP: ;
  866.  
  867.      14. Use <Jump> followed  by  a  label  to  indicate  the  unconditional
  868.          command switch to the label within the macro statement;
  869.  
  870.      15. Use <JTrue> followed by a label to indicate the command  switch  to
  871.          the label within the macro statement when the previous  command  is
  872.          successfully executed or the condition checked is true  (e.g.,  the
  873.          current  character   is   a   Chinese   character   when   executed
  874.          <IsChinese>); and
  875.  
  876.      16. Use <JFalse> followed by a label to indicate the command switch  to
  877.          the label within the macro statement when the previous command  can
  878.          not be executed or the condition checked is false.
  879.  
  880. Here are some more commands for use in the macro:
  881.  
  882.          <SoundOff>        - Turn Error Beep Off.
  883.          <SoundOn>         - Turn Error Beep On.
  884.          <IsChinese>       - If the current character is a Chinese (15-87).
  885.          <IsTwoBytes>      - if the current character is a Two Bytes GB        
  886.                                character.
  887.          <IsCursorInBlock> - The cursor is inside a marked block.
  888.  
  889. Here is an example of a macro statement, This macro will replace  two  ASCII
  890. "A1A1" characters (Pure-Chinese  Space  characters)  with  two  ASCII  space
  891. characters.
  892.  
  893.      [EXAMPLE]
  894.  
  895.          Macro BegFile ASCinput Replace "íí" Enter "  " Enter
  896.  
  897. You can define a macro command  in  NJCONFIG.KEY,  and  assign  the  command
  898. permanently to a Key. For example, the following syntax  assigns  the  macro
  899. shown above to the 'Ctrl+X+1' key:
  900.  
  901. Meta+1  Macro BegFile ASCinput Replace "íí" Enter "  " Enter
  902.  
  903. UTILITY   NJMAC.EXE
  904.  
  905. The utility program NJMAC.EXE  is  in  the  NJSTAR  sub-directory.  It  will
  906. convert a macro text file into a compiled file so that it  can  be  executed
  907. within NJStar.
  908.  
  909.      [USAGE] C:\NJSTAR30> NJMAC macfile
  910.  
  911. Macfile is the name of a macro text file. Add the drive name  and  the  full
  912. path if necessary. The resultant macro file will use  the  same  file  name,
  913. with an extension name of .NJM. The location of the resultant macro file  is
  914. the same as that of the original macro text file.
  915.  
  916. If the macro text file contains an invalid statement, NJMAC will generate an
  917. error message indicating the error location within the macro text file.
  918.  
  919. A compiled macro file can be loaded with NJSTAR as  a  command  line  switch
  920. when the system is started. See Section <<Program Usage>> for more details.
  921.  
  922.  
  923. EXAMPLES OF CREATING USEFUL MACRO COMMANDS
  924.  
  925. NJSTAR has more than 120 functions/commands in total. Each command  performs
  926. certain pre-defined tasks. However, there are always  tasks  that  a  single
  927. command cannot do. With NJStar's macros, you  can  create  new  commands  by
  928. combining several single commands into a macro command. What a macro command
  929. can do is only limited by your imagination. Here are some examples  (already
  930. defined in NJCONFIG.KEY).
  931.  
  932. *(1) Mark a sentence with Chinese characters only.
  933. Meta+1 Macro ScreenOff UnMarkBlock IsChinese JFalse END:           &
  934.        LEFT: IsChinese JFalse BEG: CursorLeft Jump LEFT:           &
  935.        BEG: CursorRight MarkBlock RIGHT: IsChinese JFalse MARKEND: &
  936.        CursorRight Jump RIGHT: MARKEND: MarkBlock END:
  937.  
  938. *(2) Call WordPefect 5.1 to Check the spelling of marked block,
  939. *    WARNING: WP51 must be on path, Should have a Block Marked
  940. Meta+2 Macro ScreenOff GotoBlock IsCursorInBlock Jfalse END:  &
  941.        SaveBlock 'NJTMP.WP' enter DOS 'WP51 NJTMP.WP' enter   &
  942.        DelBlock savefile editfile 'NJTMP.WP' enter markline   &
  943.        endfile markline copy quitfile PrevFile paste gotoblock END:
  944.  
  945. *(3) Replace the current English/Chinese by a user-entered new character
  946. Meta+F  Macro UnMarkBlock IsChinese JFalse MW: MarkBlock Jump OK: &
  947.         MW: MarkWord OK: copy SearchReplace paste pause pause
  948.  
  949. *(4) Search the current English or Chinese word until end of the file
  950. Meta+^F  Macro screenoff IsChinese JFalse MW: MarkBlock Jump OK: &
  951.          MW: MarkWord OK: copy search paste screenon enter
  952.  
  953. *(5) Insert a file into current file
  954. ^I  macro savefile openfile JFalse END: screenoff BegFile markline endfile &
  955.     markline copy QuitFile PrevFile paste gotoblock END:
  956.  
  957. *(6) Display the time and date for 5 second than delete it
  958. meta+T macro enter enter enter enter cursorup cursorup tabright &
  959.        TimeDate $100 delline backspace backspace delchar
  960.  
  961. *(7) Read a file *.GB uuencoded in file *.UUE (UUDECODE.COM is needed)
  962. *    NOTE: Enter the file name with '.' but without extention (eg. CM9311A.)
  963. Meta+^U   Macro savefile editfile pause screenoff &
  964.           DOS "UUDECODE " Filename "UUE" Enter    &
  965.           EditFile FileName "GB" Enter PrevFile QuitFile
  966.  
  967. *(8) Convert a file with every line hard returned into soft return
  968. *    NOTE: should have a blank line between paragraph, Mark a Block
  969. Meta+\    macro screenoff GotoBlock IsCursorInBlock Jfalse END:  &
  970.           Replace #10 #10 enter "##"    Enter  &
  971.           Replace #10     enter DelLine Enter  &
  972.           Replace "##"    enter #10 #10 Enter  UnMarkBlock END:
  973.  
  974. *(9) Open a file with file name at cursor
  975. Meta+^O   Macro altwordset markword editfile paste enter defwordset
  976.  
  977. *(10) Use Shift + Arrow key to mark block interactively
  978. #up       Macro Screenoff MarkBlock CursorUp    MarkBlock
  979. #Down     Macro Screenoff MarkBlock CursorDown  MarkBlock
  980. #Left     Macro Screenoff MarkBlock CursorLeft  MarkBlock
  981. #Right    Macro Screenoff MarkBlock CursorRight Markblock
  982.  
  983. =============================================================================
  984.  
  985. 13. PRINTING
  986. ============
  987.  
  988. This section describes NJStar's printing function,  located  under  "Output"
  989. (╩Σ│÷╫¬╗╗) in the main menu. This section  also  describes  printing  format
  990. commands and the utility file NJPRN.EXE.
  991.  
  992. FUNCTION   <Print>       [Ctrl+P]          ┤≥╙í╩Σ│÷       Print File
  993.  
  994. Prints the current file to a user-defined output device.
  995.  
  996. Currently, NJStar supports 9 pin or 24 pin dot  matrix  printers  (Epson  or
  997. IBM-ProPrinter and compatibles), Canon BubbleJet printers, and HP DeskJet or
  998. LaserJet  printers  (and  their  emulations).  You  have  to   install   the
  999. appropriate printer driver for your chosen printer with NJCONFIG.EXE.
  1000.  
  1001. After the correct printer driver is installed, you  can  print  the  current
  1002. file to the printer or to a file. The output character style, traditional or
  1003. simplified, will depend on the current display style. To  print  a  file  in
  1004. traditional characters, the display has to be set first to traditional style
  1005. with the <SwitchCCLIB> command. Generally, NJStar uses 16x16 font for 9  pin
  1006. dot matrix printers, and better fonts for printers  with  higher  resolution
  1007. capabilities. The user has no control on the type of font.
  1008.  
  1009. If the printer is not connected, or if you  want  to  use  another  printer,
  1010. print the current file to a file, with  the  appropriate  printer  settings.
  1011. NJStar's utility program, NJPRN.EXE, can be used later  to  print  out  that
  1012. file to the printer.
  1013.  
  1014. UTILITY  NJPRN.EXE
  1015.  
  1016. The utility program NJPRN.EXE is in NJSTAR's subdirectory.
  1017.  
  1018.      [USAGE]
  1019.           C:\NJSTAR30> NJPRN printfile port
  1020.  
  1021. 'Printfile' is a file name  for  the  file  generated  by  NJStar's  <Print>
  1022. command (see above). Please include the drive name and  the  full  path  for
  1023. NJPRN.EXE and print file if necessary. The valid ports are PRN, LPT1,  LPT2,
  1024. LPT3, COM1, COM2, COM3, or COM4.
  1025.  
  1026. PRINTING FORMAT COMMANDS
  1027.  
  1028. The following are NJStar's printing format commands, to enhance  the  output
  1029. format.
  1030.  
  1031.   English Name          Chinese Name     Function
  1032.   ===================   ==============   ====================================
  1033.    \NewPage              \╗╗╥│           Forces to print on a new page
  1034.                                          from here
  1035.  
  1036.    \PageNumber(nn)       \╥│║┼(nn)       Changes the  current page  number
  1037.                                          to nn, whatever it was originally
  1038.  
  1039.    \NumberStyle("(%d)")  \╥│▒Ω("╡┌%d╥│") Specifies the page number style as
  1040.                                          text shown in "".  Variable %d is
  1041.                                          the current page number.
  1042.  
  1043.    \NoPageNumber         \╬▐╥│║┼         Do not print page number
  1044.  
  1045.    \LeftMargin(nn)       \╫≤┐╒(nn)       Sets the left margin to nn
  1046.                                          Chinese characters
  1047.  
  1048.    \RightMargin(nn)      \╙╥┐╒(nn)       Sets the right margin to nn
  1049.                                          Chinese characters
  1050.  
  1051.    \TopMargin(nn)        \╔╧┐╒(nn)       Sets the top margin to nn lines
  1052.                                          (1 line=1/6 in. or 1 line=30 dots)
  1053.  
  1054.    \BottomMargin(nn)     \╧┬┐╒(nn)       Sets the bottom margin to nn lines
  1055.                                          (1 line=1/6 in. or 1 line=30 dots)
  1056.  
  1057.    \LineSpace(nn)        \╨╨╛α(nn)       Sets the space between lines to
  1058.                                          nn dots
  1059.  
  1060.    \Font(nn)             \╫╓║┼(nn)       Sets the size of Chinese character
  1061.                                          to nn. ( 1 normal; 2 larger)
  1062.  
  1063.    \Center               \╓╨╨─           Centers the current line on page
  1064.  
  1065.    \FanTi                \╖▒╠σ           To use un-simplified Characters
  1066.  
  1067.    \JianTi               \╝≥╠σ           To use simplified Characters
  1068.  
  1069.    ===================   ==============  =====================================
  1070.  
  1071. Here are some examples of how to use printing format commands  in  the  text
  1072. file.
  1073.  
  1074.         [EXAMPLE]        \NewPage
  1075.  
  1076. Forces the printer to perform a form feed and then prints the following text
  1077. on a new sheet.
  1078.  
  1079.         [EXAMPLE]        \PageNumber(2) \NumberStyle("╡┌(%d)╥│")
  1080.  
  1081. Forces the system to set the page numbers to start from  2  from  here.  The
  1082. page number printed on this sheet would look like "╡┌ 2 ╥│".
  1083.  
  1084.         [EXAMPLE]        \LeftMargin(5) \RightMargine(5) \LineSpace(5)
  1085.  
  1086. Forces the system to change both margins to 5 characters from  now  on,  and
  1087. use new space setting. Normally, it would be advisable to set LineSpace with
  1088. a smaller value when drawing a table with NJStar's  table  draw  characters,
  1089. such as ⌐≡,⌐±,⌐≥,⌐≤,⌐⌠,⌐⌡, etc. Don't forget to set  line  spacing  back  to
  1090. normal when finished.
  1091.  
  1092.         [EXAMPLE]        \Center ╗¬╧─╬─╒¬ (╠╪┐»)
  1093.  
  1094. Forces the system to print the string "╗¬╧─╬─╒¬ (╠╪┐»)" at the center of the
  1095. line.
  1096.  
  1097.         [EXAMPLE]        \Font(2) \Center  ╬┬▄░╡─├╬
  1098.                          \Font(1)
  1099.  
  1100. Forces the system to print "╬┬▄░╡─├╬" in an larger size at the center of the
  1101. line, and then return to normal size to print the next line.
  1102.  
  1103.         [EXAMPLE]        \JianTi
  1104.                          ┤║├▀▓╗╛⌡╧■ú¼┤ª┤ª╬┼╠Σ─±íú
  1105.                          \FanTi
  1106.                          ┤║├▀▓╗╛⌡╧■ú¼┤ª┤ª╬┼╠Σ─±íú
  1107.  
  1108. Forces the system to print the first line in simplified characters  and  the
  1109. second line in traditional ones, irrespective of the  current  mode.  Please
  1110. note that this function only works with a printer  that  can  use  24x24  or
  1111. better fonts.
  1112.  
  1113. Here are two more points for using print format commands.
  1114.  
  1115.      1) All commands must start with "\" at the very beginning of the  Line,
  1116.         To print a "\" character at the beginning of a line, use "\\".
  1117.  
  1118.      2) More than one command can be written on a single line.
  1119.  
  1120. Finally, there is one special print format command that does not start  with
  1121. a [\]. This is [~], which forces the system to print the next  character  in
  1122. "reverse" character, that is, traditional instead of simplified.
  1123.  
  1124. Occasionally, the user might want to print a  single  character  in  reverse
  1125. font. For example, while the current file uses simplified characters, one or
  1126. two characters should be printed in traditional font. Putting a  [~]  before
  1127. the character will make NJStar print this character in traditional font. For
  1128. example,
  1129.  
  1130.           [EXAMPLE]     ╔≥╤⌠╡─í░╔≥í▒╘┌╖▒╠σ╫╓└∩╨┤╫≈í░~╔≥í▒íú
  1131.  
  1132. In this case, the last "╔≥" will be  printed  as  a  traditional  character,
  1133. while the whole sentence will be in  simplified  characters.  Using  [~]  in
  1134. simplified character mode will enable the last character to  be  printed  in
  1135. traditional font.
  1136.  
  1137.           [EXAMPLE]     ╦√╡─═Γ╞┼╨╒~╔≥íú
  1138.  
  1139. In this case, in traditional character mode,  the  last  character  was  not
  1140. displayed correctly. As a surname, "╔≥" should be displayed in the same  way
  1141. as in simplified mode. To get around this, add [~] before "╔≥" so  that  the
  1142. printout will be correct. (For traditional-character users, it  may  not  be
  1143. the best solution to use this command if you are going to use this character
  1144. repeatedly. A better solution is to add the correct character  to  the  font
  1145. file, which will be described below.)
  1146.  
  1147. Like \FanTi and \JianTi commands, this  function  only  works  for  printers
  1148. capable of using 24x24 or better fonts.
  1149.  
  1150. UTILITY  PRINTPS.EXE
  1151.  
  1152. NJStar  supports  postscript  printers  with  a  separate  utility  program,
  1153. PRINTPS.EXE. This program converts a GB file to a set  of  PostScript  files
  1154. according to the font and page size selected by the user.  This  program  is
  1155. provided for registered users only; check UTILITY.DOC for more details.
  1156.  
  1157. =============================================================================
  1158.                                       (This manual continues at NJSTAR3.DOC.)
  1159.